<?php
    ob_start();
	session_start();
	ob_clean();
    if (!isset($_SESSION['usernameAdmin'][2]) || 
        !isset($_SESSION['usernameAdmin'][1]) ||
        !isset($_SESSION['usernameAdmin'][0])) {
        echo "<script>window.location.href = 'login.php';</script>";
        exit;
    }
?>